GetGenerationNumber
TheGetGenerationNumber
method returns the generation number of the focused value.
ODULong GetGenerationNumber ();
- return value
- The generation number of the focused value, expressed as an unsigned 32-bit value.
DISCUSSION
You can use the generation number of a value to tell whether the data in the value has changed. For example, your part could compare the number returned by this method with a saved generation number.EXCEPTIONS
If the storage-unit cursor for this storage-unit view does not represent a legal focus context for the storage unit that created this storage-unit view, this method throws exceptions raised by the
kODErrUnfocusedStorageUnit
- The focus context of this storage-unit view is not a value.
FocusWithCursor
method of that storage unit.SEE ALSO
TheODStorageUnitView::IncrementGenerationNumber
method (page 748).
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help